package com.example.demo.service;

import com.example.demo.entity.StudentBean;
import com.example.demo.util.PageEntity;
import com.example.demo.util.ResponseEntity;

import java.util.List;

public interface StudentService {
    
    List<StudentBean> all();
    
    Integer add(StudentBean studentBean);
    
    Integer update(StudentBean studentBean);
    
    Integer delete(Integer id);
    
    StudentBean one(Integer id);
    
    ResponseEntity login(StudentBean studentBean);
    
    PageEntity list(Integer pageNo, Integer pageSize, String name, String school, String sortOrder);
}
